GetRect(IPdfDict,PdfName,Nullable<RectangleF>) Method
In This Topic
Gets the
System.Drawing.RectangleF associated with the specified key (in a PDF a
System.Drawing.RectangleF should be represented as an array of 4 floats).
Gets if the value does not exist or cannot be converted to a System.Drawing.RectangleF.
Adds a warning to
GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value cannot be converted to a
System.Drawing.RectangleF.
Syntax
'Declaration
Public Overloads Shared Function GetRect( _
ByVal As IPdfDict, _
ByVal As PdfName, _
ByVal As System.Nullable(Of RectangleF) _
) As System.Nullable(Of RectangleF)
public static System.Nullable<RectangleF> GetRect(
IPdfDict ,
PdfName ,
System.Nullable<RectangleF>
)
Parameters
- dict
- The current dictionary.
- key
- The key of the value to get.
- defValue
- The default value.
Return Value
The value associated with the specified key.
See Also